package com.zy.vo;

import com.zy.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;

import java.util.Set;

/**
 * 菜单和操作权限对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("菜单和操作权限对象")
public class MenuAndAuth {
    @ApiModelProperty("菜单权限集合")
    private Set<SysMenu> menuList; //变量名前端已定义好：menuList

    @ApiModelProperty("操作权限集合")
    private Set<String> authorities; //变量名前端已定义好：authorities
}
